﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/8 15:26:43
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace YoucaiReader.Entities.Model
{
    /// <summary>
    /// Novel:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    //	[Serializable]
    [DataContract]
    public partial class Novel
    {
        public Novel()
        { }
        #region Model
        private int _id;
        private int _novelcategoryid;
        private string _title;
        private string _abstractinfo;
        private string _author;
        private bool _isend;
        private bool _ishot;
        private string _websiterecommendcontent;
        private string _winphonerecommendcontent;
        private string _coverwinphone;
        private string _coverwebsite;
        private string _enddownloadurl;
        private string _downloadpassword;
        private DateTime _insertdatetime;
        private bool _iswinphonerecommend;
        private bool _iswebsiterecommend;
        private int? _downloadtotal;
        private int? _viewtotal;
        private decimal? _downloadfilesize;
        private bool _isEnabled;
        private int _winPhoneClientId;

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int NovelCategoryId
        {
            set { _novelcategoryid = value; }
            get { return _novelcategoryid; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string AbstractInfo
        {
            set { _abstractinfo = value; }
            get { return _abstractinfo; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string Author
        {
            set { _author = value; }
            get { return _author; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsEnd
        {
            set { _isend = value; }
            get { return _isend; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsHot
        {
            set { _ishot = value; }
            get { return _ishot; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string WebSiteRecommendContent
        {
            set { _websiterecommendcontent = value; }
            get { return _websiterecommendcontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string WinPhoneRecommendContent
        {
            set { _winphonerecommendcontent = value; }
            get { return _winphonerecommendcontent; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string CoverWinPhone
        {
            set { _coverwinphone = value; }
            get { return _coverwinphone; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string CoverWebSite
        {
            set { _coverwebsite = value; }
            get { return _coverwebsite; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string EndDownloadUrl
        {
            set { _enddownloadurl = value; }
            get { return _enddownloadurl; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public string DownloadPassword
        {
            set { _downloadpassword = value; }
            get { return _downloadpassword; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public DateTime InsertDateTime
        {
            set { _insertdatetime = value; }
            get { return _insertdatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsWinPhoneRecommend
        {
            set { _iswinphonerecommend = value; }
            get { return _iswinphonerecommend; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsWebSiteRecommend
        {
            set { _iswebsiterecommend = value; }
            get { return _iswebsiterecommend; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int? DownloadTotal
        {
            set { _downloadtotal = value; }
            get { return _downloadtotal; }
        }
        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public int? ViewTotal
        {
            set { _viewtotal = value; }
            get { return _viewtotal; }
        }
        [DataMember]
        public decimal? DownloadFileSize
        {
            set { _downloadfilesize = value; }
            get { return _downloadfilesize; }
        }

        /// <summary>
        /// 
        /// </summary>
        [DataMember]
        public bool IsEnabled
        {
            set { _isEnabled = value; }
            get { return _isEnabled; }
        }

        /// <summary>
        /// WinPhone客户端ID
        /// </summary>
        [DataMember]
        public int WinPhoneClientId
        {
            set { _winPhoneClientId = value; }
            get { return _winPhoneClientId; }
        }
        #endregion Model

    }

}
